import 'package:flutter/material.dart';
import 'package:flutter_basic/pages/detail_page.dart';
import 'package:flutter_basic/pages/tabbar_page.dart';

void main() {
  runApp(MaterialApp(
    // home: HomePage(),
    routes: {
      //默认跳转/
      '/': (context) => const TabbarPage(),
      '/detail': (context) => const DetailPage(),
    },
  ));
}
